<%--
  Created by IntelliJ IDEA.
  User: 13083
  Date: 2019/7/7
  Time: 11:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>去付款</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/head.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/footer.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/suercenter.css" />
</head>
<body>

<table class="order_table" style="width: 800px;margin-right: 5%">
    <tbody>
    <c:forEach items="${unfinishorder}" var="p">
        <!--金额 地址 状态-->
        <tr class="tr_top" style="border-top: 1px dotted black">

            <td colspan="6" >
                <span class="number">订单金额:${p.totalprice}</span>
                <span class="dealtime" title="订单地址：">订单地址：${p.address}</span>
                    <span class="dealtime" title="交易状态：" >交易状态：未付款 </span>
                <%--    <a href="" class="base_btn_save">去付款</a>--%>
            </td>
        </tr>

        <!--金额 地址 状态-->
        <!--单号 时间-->
        <tr class="tr_top">
            <td colspan="6">
                <span class="number">订单号：${p.orderID}</span>
                <span class="dealtime" title="下单时间">下单时间：${p.creattime}</span>
            </td>
        </tr>
        <!--单号 时间-->
        <!--订单商品-->
        <c:forEach items="${p.detail_order}" var="m">
            <tr class="tr_bd">
                <td class="goods-item">
                    <div class="p-img">
                        <a href="${pageContext.request.contextPath}/GoodsServlet?method=DetailProduct&ProductID=${m.goodsID}&PID=0" target="_blank">
                            <img class="" src="${m.picpath}" title="" height="60" width="60">
                        </a>
                    </div>
                    <div class="p-msg">
                        <div class="p-name">
                            <a href="" class="a-link" target="_blank" title=""></a>
                            <span class="product-name" >${m.goodsName}&nbsp;&nbsp;${m.goodsAttribute}</span>

                        </div>
                    </div>
                </td>
                <td>
                    <div class="goods_price">单价：￥${m.onlyPrice}</div>
                </td>
                <td>
                    <div class="goods-number">数量：x${m.goodsNum}</div>
                </td>
                <td rowspan="1">
                <td class="amount"><span>总价： ￥${m.sumPrice}</span></td>
                </td>
            </tr>
        </c:forEach>
        <!--订单商品-->
    </c:forEach>
    </tbody>
</table>
</body>
</html>
